/*
 * @Descripttion: 消息通知
 * @version: 1.0
 * @LastEditors: mh
 * @LastEditTime: 2023年3月1日10:00:41
 */

import { notification } from 'ant-design-vue'

//通知对象
const notice = {}
//通知类型
const success = 'success'
const info = 'info'
const warning = 'warning'
const error = 'error'

//文件下载
notice.exportSuccess = () => {
	notification[success]({
		message: '导出成功',
		description: '文件导出成功,正在下载到本地!'
	})
}

export default notice
